function ChoixElementClasse() {
	this.code = null;
	this.libelle = null;
	this.autres = null;
}

ChoixElementClasse.prototype.init = function(param) {
	if(param == null) return this;

	this.code = param.code;
	this.libelle = param.libelle;
	this.autres = param.autres;

	return this;
};

ChoixElementClasse.prototype.tags = function() {
	this.code = "libelleFiltre";

	return this;
}

ChoixElementClasse.prototype.pays = function() {
	this.code = "idPays";
	this.libelle = "libellePays";

	return this;
}

ChoixElementClasse.prototype.regions = function() {
	this.code = "idRegions";
	this.libelle = "libelleRegions";
	this.autres = "idPays";

	return this;
}

ChoixElementClasse.prototype.activites = function() {
	this.code = "idAS";
	this.libelle = "libelleAS";

	return this;
}

ChoixElementClasse.prototype.thematiques = function() {
	this.code = "themeId";
	this.libelle = "themeLibelle";

	return this;
}

ChoixElementClasse.prototype.associerElementValeurs = function(element) {
	
	// var elementFormatte = {};
	// 	elementFormatte[this.code] = element[this.code]
	// 	elementFormatte[this.libelle] = element[this.libelle]

	// 	if( this.autres != null ) {
	// 		elementFormatte[this.autres] = element[this.autres]
	// 	}

	return element[this.code];
};

ChoixElementClasse.prototype.associerValeurVersElement = function( valeur ) {
	var elementFormatte = {};

	elementFormatte[this.code] = valeur;

	return elementFormatte;
};
